{template 'header'}

<!--当前位置-->
<div class="location layout960">
	当前位置: <a href="{SITE_URL}">首页</a>&nbsp; »&nbsp; <a href="{url('extend/industry')}">行业圈</a>
</div>
<!--当前位置 end-->

<!--主体部分-->
<div class="main layout960">
<div class="main-head-blue">
	<h2>行业圈</h2>
	<a href="{url('member/industry')}">我要加入行业圈</a>
	<a href="{BBS_URL}group.php?hyq=1">创建行业圈</a>
</div>
<!--main-body-border start-->
<div class="main-body border">
<h4><?php echo FunExtendIds::subLink($catid, $ids_cats, 'catid', '所有类目'); ?></h4>
<!--cat-property start-->
<div class="cat-property">
	<div class="cat-section fn-clear">
		<div class="cat-hd fn-left">分类：</div>
		<ul class="fn-left">
			<li {if !$catid}class="selected"{/if}><a href="{url('extend/industry')}">全部</a></li>
			{loop $ids_cats $k $v}
			<li {if $catid==$v[typeid]}class="selected"{/if}><a href="{xd_dynamic_url('catid', $v[typeid], $ids_buildbase)}" title="{$v[typename]}">{$v[typename]}</a></li>
			{/loop}
		</ul>
	</div>
	<!--{if $mainarea}-->
	<div class="cat-section fn-clear">
	<div class="cat-hd fn-left">地区筛选:</div>
	<!--{loop $mainarea $k1 $mainL}-->
	<ul class="fn-left">
		<li {if !$areaid}class='selected'{/if}><a  href="{xd_dynamic_url('areaid', '',$ids_buildbase)}" title="不限">不限</a></li>
		<!--{loop $mainL $k2 $v}-->
		<li {if $v[areaid]==$areaid} class='selected'{/if}><a  href="{xd_dynamic_url('areaid', $v['areaid'],$ids_buildbase)}" title="{$v[areaname]}">{$v[areaname]}</a></li>
		<!--{/loop}-->
	</ul>
	<!--{/loop}-->
	</div>
	<!--{/if}-->
</div>
<!--cat-property end-->
{if $catid || $areaid}
<div class="cat-selected fn-clear">
	<h5 class="fn-left">您已选择：</h5>
	<ul class="fn-left">
		<!--{if $catid && $catid != null}-->
		<li>
			<a href="{xd_dynamic_url('catid', 0, $ids_buildbase)}" ><h5>分类:</h5>{$ids_cats[$catid]['typename']}<i class="icon-close"></i></a>
		</li>
		<!--{/if}-->
		<!--{if $areaid && $areaid != null}-->
		<li><a href="{xd_dynamic_url(array('areaid'), array($areaParentid),$ids_buildbase)}"><h5>地区:</h5>{$ARE['areaname']}<i class="icon-close"></i></a></li>
		<!--{/if}-->
	</ul>

</div>
{/if}
<!--过滤-->
	<div class="filter fn-clear" >
		<div class="filter-hd fn-clear">
			<h3 class="fn-left">所有信息</h3>
			<div class="page-top fn-right fn-clear">
				<div class="fn-left">当前共有<span>{$ids_page_total}</span>条记录</div>
				{if $ids_page_total}
				<span>{$pn->getPage()}/{$pn->getPages()}</span>
				{php echo $pn->getPrev()}
				{php echo $pn->getNext()}
				{/if}
		</div>
	</div>
<!--过滤 end-->
<!--搜索结果-->
<div class="layout-inner mt10 fn-clear">
<div class="layout-inner-1of2 fn-left">
	<ul class="result-list">
		{if $ids_page_total}
		{loop $ids_items $item}
			<li class="fn-clear">
				<img src="{AutoOwners::byPhoto($item['username'])}">
				<div class="indus-result-desc fn-left fn-clear">
					<div class="left fn-left">
						<h3 class="cblue">{$item[truename]}[{$item[icareer]}]</h3>
						<p class="indus-company">公司：{$item[icompany]}</p>
						{if $item[isell]}<p class="indus-deal"><span>我要买：</span>{$item[isell]}</p>{/if}
						{if $item[ibuy]}<p class="indus-deal"><span>我要卖：</span>{$item[ibuy]}</p>{/if}
						<p class="indus-cat">{$item[idepartment]}</p>
					</div>
					<div class="mid fn-left">
						<span class="address">{area_pos($item['areaid'])}</span>
						<span class="log-time">最后登录：{date('m-d H:i', $item[logintime])}</span>
					</div>
					<div class="right fn-right">
						<a  href="{url('member/friend', 'action=add&username='.$item['username'])}" target="_blank">加为好友</a>
						<a  href="{url('member/message', 'action=send&touser='.$item['username'])}" target="_blank">发信息</a>
					</div>
				</div>
			</li>
		{/loop}
		{else}
		<p class="indus-no-result">当前没有相关数据!</p>
		{/if}
	</ul>
	{php $total = $ids_page_total}
	{php $pn = $do->getPn()}
	{template 'pager', 'inc'}
</div>
<div class="fn-right">
	<iframe src="{SITE_URL}extend/fragment.php?modules=cooperation&psize=10&city_order={$city_order}"  scrolling="no" frameborder="0" height="303"></iframe>
</div>

</div>
<!--2of2 end-->
</div>
<!--搜索结果 end-->
</div>
<!--main-body-border end-->
</div>
<!--主体部分 end-->
{template 'footer'}
